{% extends "layouts/main.html" %}
{% import 'components/form.html' as helper %}

{% set pageTitle = "新建用户" %}
{% set pageDesc = "新用户" %}

{% block content %}

<div class="box box-default">
    <div class="box-header with-border">
        <h3 class="box-title">用户信息</h3>
    </div>
    <div class="box-body">
        <div class="row">
            <div class="col-md-6">
                <form method="post">
                    {{ form.hidden_tag() }}
                    {{ helper.render(form.nickname, icon="glyphicon-user") }}
                    {{ helper.render(form.username, icon="glyphicon-envelope") }}
                    {{ helper.render(form.password, icon="glyphicon-lock") }}
                    {{ helper.render(form.confirm_password, icon="glyphicon-lock") }}
                    {{ helper.render(form.role) }}
                    {{ helper.render(form.status) }}
                    {{ helper.render(form.submit) }}
                </form>
            </div>
        </div>
    </div>
</div>

{% endblock %}